chore: propagate JSDoc callback-type alignment to _tools/markdown#11863
Merged
chore: propagate JSDoc callback-type alignment to _tools/markdown#11863
_tools/markdown#11863Conversation
…rity pattern
Propagates fix from a2c531cd9 ("chore: align outliers in `_tools/lint` with namespace majority patterns") to a sibling outlier in `_tools/markdown`. Aligns the JSDoc type annotation for the `clbk` callback parameter from `{Function}` to `{Callback}`, matching the pattern used by sibling files `_tools/markdown/inline-svg-equation/lib/main.js` and `_tools/markdown/namespace-toc/lib/async.js`.
_tools/lint JSDoc callback-type alignment to _tools/markdown_tools/markdown
kgryte
approved these changes
May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Propagating fixes merged to
developbetween 2026-04-29 18:17 -0400 and 2026-04-30 11:44 +0530 to sibling packages.Description
This pull request propagates a single namespace-alignment correction surfaced in the last 24h of
develop:chore: align outliers in _tools/* with namespace majority patterns— propagates a2c531cd9Aligns
_tools/markdown/to-html/lib/main.jswith sibling files by changing theclbkJSDoc type annotation from{Function}to{Callback}, consistent with the pattern established across_tools/markdown/inline-svg-equation/lib/main.jsand_tools/markdown/namespace-toc/lib/async.js. Propagates the same one-token correction applied to_tools/lintin a2c531cd9. No semantic effect.Target package:
lib/node_modules/@stdlib/_tools/markdown/to-html/lib/main.jsRelated Issues
None.
Questions
No.
Other
Validation
lib/node_modules/@stdlib/_tools/**/*.jsfiles matching@param {Function} clbk, partitioned by top-level_tools/<sub>/namespace._tools/<sub>/) had a clear{Callback}majority among non-fixture sources._tools/github(55{Function}vs 19{Callback}) and_tools/scripts(2 vs 0) were dropped —{Function}is the local majority there._tools/docs(4 vs 4) and_tools/utils(1 vs 1) were dropped — no majority.confirmed. Theclbkparameter is a node-style error-first callback (clbk(error)/clbk(null, html)), no localCallbacktypedef, not a fixture.on completion, the site-local phrasing).*continuation, and description wording match stdlib conventions and sibling files._tools/eslint/rules/jsdoc-doctest/test/fixtures/valid.js— ESLint rule test fixture;{Function}content is potentially intentional for the rule under test.e34b36cde(docs: update namespace table of contents) and6b16c0bec(docs: update related packages sections) — automation downstream of new-package additions, no underlying defect pattern.b48118129(docs: add hpsf conference image link) — single-instance content fill; no other emptysrc=""images exist indocs/.namespace-aliases/test/test.jsportion ofa2c531cd9— a single, already-resolved missing-test outlier; no other lint package lackstest/test.js.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was authored by Claude Code as part of an automated fix-propagation routine. The propagation site was identified by a sonnet pattern-specification agent, validated by two independent opus agents plus an opus adaptation agent and a sonnet style-consistency agent, then committed and opened as a draft. A maintainer should audit before promoting out of draft.
@stdlib-js/reviewers
Generated by Claude Code